package no.progark.golf;

import java.util.ArrayList;

import no.progark.golf.views.ScoreboardView;

/**
 * This class does not need to fire property changes, since Game object will call update() every time a player has shot.
 * If a user wishes to check scores, a new activity is opened and accesses the Game object's Scoreboard field (scores).
 * This will always be correctly updated.
 * @author Martin
 *
 */
public class Scoreboard {	
	public Scoreboard(ArrayList<Player> playerList){
		//this.width = playerList.size();
		update(playerList);
	}
	
	/**
	 * This method is called from Golf object after all player scores have been updated. 
	 * 
	 * 
	 */
	public void update(ArrayList<Player> playerList) {
//		if(width != playerList.size()){
//			width = playerList.size();
//			this.scoreboard = new int[width][height];
//		}
		
	}

}
